﻿using System;
using System.Data.Entity;
using EasyMvc.Models;
using System.ComponentModel.DataAnnotations;

namespace EasyMvc.DbContext
{
    public class MyDbContext : System.Data.Entity.DbContext
    {
        public DbSet<Category> Categories { get; set; }
        public DbSet<Document> Documents { get; set; }
        public DbSet<DocumentPost> DocumentPosts { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<Power> Powers { get; set; }
        public DbSet<Role> Roles { get; set; }
    }
}
